package br.com.bankai.koby.service.util;

/**
 * 
 * @author Leonardo
 *
 */
public class Generator extends br.com.graflogic.commonutil.util.Generator {
	private static final int USER_PASSWORD_SIZE = 6;
	private static final int CLIENTE_PASSWORD_SIZE = 8;

	public static String generateUserPassword() {
		return generate(USER_PASSWORD_SIZE, null).toUpperCase();
	}

	public static String generateActivationCode(String cpf) {
		String code = generate(10, null);

		return cpf += code;
	}

	public static String generateClientePassword() {
		return generate(CLIENTE_PASSWORD_SIZE, null).toUpperCase();
	}
}
